package com.dream.service;

import com.dream.pojo.Student;

import java.util.List;

public interface StudentService {

    List<Student> findStudentsByClazzId(String clazzId);

    long totalCount(String stuName);

    List<Student> list(String stuName, long pageIndex, long pageSize);

    int add(Student student);

    Student findById(String stuId);

    int update(Student student);

    int deleteById(String stuId);

    List<Student> findStudentsByDormitoryId(String dormitoryId);
}
